// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import store from './store/store'
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import VueMaterial from 'vue-material'
import 'vue-material/dist/vue-material.min.css'
import SideBar from './components/SidebarPlugin'
import './assets/scss/material-dashboard.scss'
import 'es6-promise/auto'

import axios from 'axios'
import cango from './cango'

Vue.use(cango)

Vue.use(VueMaterial)
Vue.use(SideBar)
Vue.config.productionTip = false
Vue.prototype.$http = axios

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
